package com.secsys.model;

import java.util.HashSet;
import java.util.Set;

/**
 * TbBbsModule entity. @author MyEclipse Persistence Tools
 */

public class TbBbsModule implements java.io.Serializable {

	// Fields

	private Integer id;
	private String urlId;
	private String moduleName;
	private String description;
	private String sort;
	private String statue;
	private String param;
	private String code;
	private String parent;
	private Set tbSysResources = new HashSet(0);
	private Set tbBbsPosts = new HashSet(0);
	//private TbSysRole tbSysRole;

	// Constructors

//	public TbSysRole getTbSysRole() {
//		return tbSysRole;
//	}
//
//	public void setTbSysRole(TbSysRole tbSysRole) {
//		this.tbSysRole = tbSysRole;
//	}

	/** default constructor */
	public TbBbsModule() {
	}

	/** minimal constructor */
	public TbBbsModule(String moduleName, String statue, String code) {
		this.moduleName = moduleName;
		this.statue = statue;
		this.code = code;
	}

	/** full constructor */
	public TbBbsModule(String urlId, String moduleName, String description,
			String sort, String statue, String param, String code,
			String parent, Set tbSysResources, Set tbBbsPosts) {
		this.urlId = urlId;
		this.moduleName = moduleName;
		this.description = description;
		this.sort = sort;
		this.statue = statue;
		this.param = param;
		this.code = code;
		this.parent = parent;
		this.tbSysResources = tbSysResources;
		this.tbBbsPosts = tbBbsPosts;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUrlId() {
		return this.urlId;
	}

	public void setUrlId(String urlId) {
		this.urlId = urlId;
	}

	public String getModuleName() {
		return this.moduleName;
	}

	public void setModuleName(String moduleName) {
		this.moduleName = moduleName;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getSort() {
		return this.sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public String getStatue() {
		return this.statue;
	}

	public void setStatue(String statue) {
		this.statue = statue;
	}

	public String getParam() {
		return this.param;
	}

	public void setParam(String param) {
		this.param = param;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getParent() {
		return this.parent;
	}

	public void setParent(String parent) {
		this.parent = parent;
	}

	public Set getTbSysResources() {
		return this.tbSysResources;
	}

	public void setTbSysResources(Set tbSysResources) {
		this.tbSysResources = tbSysResources;
	}

	public Set getTbBbsPosts() {
		return this.tbBbsPosts;
	}

	public void setTbBbsPosts(Set tbBbsPosts) {
		this.tbBbsPosts = tbBbsPosts;
	}

}